package com.asd.map.service.impl;

import com.asd.map.entity.Surface_style;
import com.asd.map.mapper.Surface_styleMapper;
import com.asd.map.service.ISurface_styleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @createtime 2021-09-02 9:49
 * @description
 */
@Service
public class Surface_styleServiceImpl extends ServiceImpl<Surface_styleMapper, Surface_style> implements ISurface_styleService {

    @Autowired
    private Surface_styleMapper surface_styleMapper;


    @Override
    public void deleteById(String applyId, String did) {
        surface_styleMapper.removeById(applyId,did);
    }

    @Override
    public List<Surface_style> findByApplyId(String applyId, String did) {

        List<Surface_style> line_styleList = surface_styleMapper.findByApplyId(applyId, did);

        return line_styleList;
    }


}
